home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 27
/
CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso
/
CUCD
/
PowerPC
/
Benoit
/
Benoit.readme
< prev
next >
Wrap
Text File
|
1997-06-19
|
6KB
|
229 lines
Introduction
============
Benoit is a fractal image renderer. It is able to calculate several types of
fractal images, including the well-known Mandelbrot set and Julia sets.
Furthermore, using Benoit's formula editor, one can easily explore other types
of fractal images.
Benoit renders in true color only, therefore it needs a 15/16/24bit CyberGraphX
display screen.
Furthermore, Benoit fully supports phase5's PowerUP cards. It auto-detects the
PowerPC processor and lets the user decide whether to use it or not. If a PPC
is not present, Benoit switches back to M68k mode.
Features
========
- True color rendering, all calculations are done in 24bit
- Can be opened on any 15/16/24bit PubScreen
- Sizable window
- Auto-sensing of PowerUP cards
- CPU switchable (M68k / PPC)
- Six different fractal types provided
- Unlimited number of fractal types using the flexible formula editor
- Dual color system (even color / odd color)
- Three button mouse supprt
- Cursor key support
- Coordinates can be loaded from and saved to disk
- Many coord files provided
Requirements
============
To run Benoit you need:
- an Amiga
- a 68020/030/040/060 processor
- some kind of FPU (68881/2 or 68040/060)
- CyberGraphX V2.0 or greater
- Kick 3.0 or greater (might run on Kick 2.0 - not tested)
Installation
============
Just copy the file Benoit anywhere you like. If you want to use the PowerUP
features, copy the file Benoit.elf into the same directory as Benoit (Benoit
tries to load PROGDIR:Benoit.elf).
Copy the coordinate files directory into the same directory as Benoit (Benoit
loads from PROGDIR:Coords as default).
Make sure that you have the following libraries in your LIBS: path:
- asl.library v38+
- cybergraphics.library v40+ (or cgxsystem.library, as that one creates
cybergraphics.library)
- gadtools.library v38+ (should be in the ROM)
- gtlayout.library v38+
- ppc.library v44+ (only if you have a PowerUP card installed)
The User Interface
==================
When started from a 15/16/24bit Workbench, Benoit opens its windows on the
Workbench screen. Otherwise, it lets the user select a screen mode and opens a
15/16/24bit screen.
Two windows should be opened then, a display window and a user interface window.
In the user interface window, the following elements should pop up:
CPU
---
The CPU to be used. Currently supported are M68k and PPC :^)
Fractal type
------------
The fractal type to be calculated. This directly corresponds to the Formula and
Style settings. Currently supported:
- Mandelbrot the well-known Mandelbrot set
- Julia the well known Julia sets
- Dragon \
- Salamander \ some less knwon fractals, each
- Meteors / having different characterisms
- Pearls /
- Formula a user-defined formula
Formula
-------
The rendering formula. It shows the formula when using one of the predefined
fractal types. If you edit the formula, fractal type is changed automatically to
Formula. See below for details on how an expression has to look like.
Style
-----
This sets one of the two possible styles: Mandelbrot or Julia.
- Mandelbrot means that c is set according to the current position in the
window. x seed and y seed are ignored.
- Julia means that c is set to the value specified in x seed and y seed. Set
these variables to a value other than 0.0 if you want to see more than a
filled black circle.
Exponent
--------
This corresponds to the "n" value in some of the formulas. It is currently
restricted to the range from 2 to 16. Though normally used as the exponent in
the formulas, it might be used as a multiplier as well.
Max iter
--------
The maximal number of iterations, which is proportional to the calculation time.
So don't exaggerate :o)
Even color
----------
Color offset for the even iterations (0, 2, 4, 6, ...).
0 = red 1 = yellow 2 = green
3 = cyan 4 = blue 5 = purple
Odd color
---------
Color offset for the odd iterations (1, 3, 5, 7, ...).
Color repeat
------------
This value defines the number of colors. Normally, this should be the same as
Max iter. But as Max iter increases, the color difference between two iteration
levels decreases. When it gets too smooth, the user might want to adjust it by
setting this value to somewhat lower than Max iter.
Coordinates (right side of the GUI)
-----------
The point given by (xmin, ymin) specifies the top left point of the image, the
point given by (xmax, ymax) specifies the bottom right one. If values are
exchanged (for example, if xmax < xmin), they are corrected automatically.
Note that x always corresponds to the real part of the complex number while y
always corresponds to the imaginary part.
Calculate
---------
Start the fun!
Load coords
-----------
Load a coordinate file from disk. The default path is PROGDIR:Coords. Note that
coordinate file names should always end with .coords.
Save coords
-----------
Save the current coordinates to disk. All values except for CPU type and window
size are stored.
Reset
-----
Resets x min, y min, x max and y max to their default values. Note that x seed
and y seed don't get touched.
Quit
----
Just quit, no requesters.
Window control
==============
Mouse control:
- Use the left mouse button to zoom in
- Use the right mouse button to zoom out
- Use the middle mouse button to pick x seed and y seed
Key control:
- Use the cursor keys to move
(Note: not optimized, the image is completely recalculated)
- Use '.' to zoom in
- Use ',' to zoom out
- Use 'q' to quit
The Formula Editor
==================
Each expression has to look like this:
(a#b)
where a and b are expressions or variables and # is an arithmetic operator.
Operators provided:
-------------------
+, -, *, /, ^
Variables provided:
-------------------
z the complex number z (iterator)
c the complex number c (constant)
i the imaginary constant i
n the natural number n (taken from Exponent)
x the real part of z
y the imaginary part of z
a the real part of c
b the imaginary part of c
any positive number, real or natural
negative numbers have to be created by subtracting from 0.0:
(0.0-1.0)
Examples
--------
Ok:
(a+b)
(a+(b+c))
((a+b)+c)
((z^2)+c)
(5*(z+2))
Wrong:
a+b no parenthesis
(a) variables must not be in parenthesis
(((a+b)) missing parenthesis